So far, so good. I've spent today (so far) writing the low-level IMAP command parser. Now I just need to write a test harness, fire up a blitzserv process, and start debugging all the tricky special cases.