Allow the IMAP parser to be called without a mailstream