Fixed MIME (RFC-2047) decoding, added unit test