I think I might have found a problem with negotiation of the security mechanism. In the current source, zmq::stream_engine_t::handshake sets up the security mechanism based on the greeting received from the peer, but does not seem to validate that against what was sent to the peer or specified in the socket options. Am I missing something? Matt