fix(index): connect to host in url bar of browser
fix(index): connect to host in url bar of browser

When socket io receives no attributes to connect method, it connects to
those ip and port that are specified in url bar of the browser. This way
code can be run on different servers, but still work.

scottbateman/wams.js,scottbateman/wams.js