docs: def handleRequest(self, obj, socket, multi=False):
          '''
          Handle one or more requests on a REP socket, with the format
          sent by sendRequest()
          '''
          while 1:
              try:
                  msg = socket.recv_multipart(zmq.NOBLOCK)
                  method = msg[0].decode()
                  try:
                      args = pickle.loads(msg[1], **pickle_options)
                  except ValueError as err:
                      self._logger.notice('Request %s failed. Caught %s %s' %
                                          (method, type(err), str(err)))
                      self._sendAnswer(socket, err)
                  self._logger.debug("received request %s %s" %
                                     (method, str(args)))
                  try:
                      res= getattr(obj, method).__call__(*args)
                  except Exception as e:
                      self._logger.notice('Request %s %s failed. Caught %s %s' %
                                          (method, str(args), type(e), str(e)))
                      res= e
                  self._sendAnswer(socket, res)
              except zmq.ZMQError:
                  return
              except Exception as e:
                  self._logger.error("Unknown error %s" % str(e))
              if not multi:
                  break