Changed class TcpServer