Fix rfc2822 parsing