Open another window to the same URL to create the chat window.
This example will create a WebRTC data channel to any other window opened to the same URL.
NOTE: It may take a few seconds for Endpoint to connect to the Server and download peer information.
It first uses socket.io to connect to the Node.js server. It will then use the rtc.io switchboard
hosted there to find other peers. Once it finds one, it will download the IP address, and create
a WebRTC connection directly to that IP address.
Once connected, it will then broadcast a request for the chat-api hosted on that browser.