Add base64 enc/dec API. Query prefix is '%'