Replace zmq_device with zmq_proxy.

In ZeroMQ3 zmq_device has been removed. We should use zmq_proxy instead.