Successed to change sockets to socket.io.