An RFC 2047 compliant email header parser