seperate socket handler from server.js
Merge branch 'dev' of github.com:airyland/raose into dev