add TcpConnection class