add a TcpClient unittest