changing socket.io pointer.