include base64 implementation