check hostname before setting websocket connection
Merge branch 'master' of github.com:ShadowKoBolt/hackmanc14