code: def send_payload(self, params):
          
          data = dumps({
              'jsonrpc': self.version,
              'method': self.service_name,
              'params': params,
              'id': str(uuid.uuid1())
          }).encode('utf-8')
          headers = {
              'Content-Type': 'application/json-rpc',
              'Accept': 'application/json-rpc',
              'Content-Length': len(data)
          }
          try:
              req = urllib_request.Request(self.service_url, data, headers)
              resp = urllib_request.urlopen(req)
          except IOError as e:
              if isinstance(e, urllib_error.HTTPError):
                  if e.code not in (
                          401, 403
                  ) and e.headers['Content-Type'] == 'application/json-rpc':
                      return e.read().decode('utf-8')  # we got a jsonrpc-formatted respnose
                  raise ServiceProxyException(e.code, e.headers, req)
              else:
                  raise e
          return resp.read().decode('utf-8')
docs: Performs the actual sending action and returns the result