Called socket.io on server