added xmlrpc_encode_request wrapper