Added base64 Encoding detection