add event delegate
Fix log bug
change TcpServer
change connection