Retrieves the headers for a message number.