hook up socket.io