use window.location for socket connect
Merge branch 'master' of github.com:siq/mesh