Rearranged
Pure socket version, skipping zmq