peer to peer chat based on node.js and node-webkit