fix utils.to_rfc822()
Merge pull request #344 from Changaco/fix-to_rfc822

Fix utils.to_rfc822()