base64 encode/decode if server modifies request string. Bugfixes on callbacks.
base64 encode/decode if server modifies request string.