testing client connection with http