Fixed localhost only bug, moved websocket stuff to own file
Merge branch 'master' of https://github.com/RangerMauve/Serverthing