added another constructor to TcpClient