Create socket-chat.js

server side socket-chat