Add socket.io connection