added metadata to peer.js handshake