a simple tcp client with command line.