Fixed the IMAP parser to properly accept qstrings (and literals) for the header field names

Fixes issue #115