Added secure option to peer.js