ZMQ: modified source and transport based on the architecture plan