ported the zmq sample server to zmq4, works much better now