Implemented base64url encoding.