code: def do_request(self, line):
          
  
          def f(p, method, params):
              result = p.call(method, params)
              print("RESULT %s" % result)
  
          self._request(line, f)
docs: request <peer> <method> <params>
          send a msgpack-rpc request and print a response.
          <params> is a python code snippet, it should be eval'ed to a list.