required features:
0. create mime mail for delivery. a la marshal.
1. Content-Disposition: inline; filename="fu" totally ignored.
2. better charset handling.
	2.0 iso-2022 encoding needs to be finished inc. iso-2022-kr
	2.1 jis x 208, 212, 213, 201 support
	2.2 gb-18030 support
	2.3 HKSCS support
3. improve usability. acme interface?
4. mbox format support. mbox.c exists but isn't used.
	4.1 mbox2mimeDoc drops header lines on the floor.
	4.2 mimedesc of message/rfc822 treats it as an atom.
5. mime multipart support
	5.0 support {viewing, extracting} unnamed subdocs
6. Resent-* not supported. e.g. mrecat.
7. faces support.
8. complete mime subpart specification: e.g.
done	file!.00.01			address
done	file!.00 g:Content-Type:text/html:	name

	8.0 decodeBodyRef() and parseBodyRef() process elements that they will throw away.
	8.1 from/thread/xheader don't allow subpart specification at all.
	8.1 implementation is wierd. goop after the ! is magically turned into a reference.
9. mAddress
	9.6 string lengths aren't respected in str2maddress.
11. rfc2047 parsing is done at the wrong level:
	11.1 NOTE: Decoding of encoded-words occurs *after* a structured field body is parsed into tokens. that's now how mailhdr does it at all. mailhdr doesn't really have "tokens" fer starters. this might be a good thing. you don't want devious sorts trying to sneak funny characters in the back door like this.
12. xheader
	12.1 xheader from -> »Russ Cox <rsc@swtch.com>« often okay, but sometimes
		the raw address is what you'd like. e.g. %{mAddressBasic}.