Added jsdoc support; Peer handshake