support base64 decode and use coding with specified charset in Content-Type header.