a client to test the socket