Here's a second attempt at my bytestring and rfc822 modules, incorporating feedback from the list, plus some rework based on an improved understanding of the rfc.