Added socket.io connection to server/client