refactor of transport with ZeroMQ