mail: add headerParser
mail: add headerParser

Mostly imported from the standard library's net/mail.addrParser [1], with
parseNoFoldLiteral and parseMsgID added.

[1]: https://tip.golang.org/src/net/mail/message.go

emersion/go-message,emersion/go-messages