keepalive-test: using curl to test keep alive