added basic socket.io
updated res