Simplify ZMQ_STREAM socket implementation