simple client using tcp