* updated handshakePeer: testing of duplicate connections