working version of zmq for local and remote (via a proxy)
TODO: autoreconnect for local, getting data structure