A simple tcp client