Add base64 encode/decode support