imapparse: add getmstring() for mupdate-specific parsing
The mupdate protocol uses LITERAL+ in server->client
communications, whereas in the IMAP protocol this is
only permitted in client->server communications.
Adds a parser flag and corresponding macro to switch
behaviours.
Fixes #4932