reusing socket.js code from other project

https://github.com/Selmanh/smart-read/blob/master/node-server/functions/socket.js
server: added dependency - sockjs