def METHOD_NAME():
    context = zmq.Context()
    # # FIXME: authentication is not working in the moment
    # auth = ThreadAuthenticator(context, log=logging.getLogger())
    # auth.start()
    # auth.allow('127.0.0.1')
    # auth.allow('localhost')
    # set_allowed_IPs(auth)
    socket = context.socket(zmq.REP)
    socket.zap_domain = b'global'
    socket.bind("tcp://*:5000")
    switch = Switch()
    while True:
        #  Wait for next request from client
        message = socket.recv_string()
        logging.debug("Received request: %s" % message)
        socket.send_string(str(parse_request(message, switch)))