RestProxy now uses the proper interface to send its message through zmq sockets.