For what it's worth curl can do very detailed timing [1] and it can also do this using a proxy
export http_proxy=http://your.proxy.server:port/
export HTTPS_PROXY=https://your.proxy.server:port/
curl -x http://proxy_server:proxy_port --proxy-user username:password
or $socks-wrapper curl # [2]
[1] - https://dev.to/gbhorwood/curl-getting-performance-data-with-...[2] - torsocks, tsocks, wireproxy, shadowsocks-rust, proxychains-ng, etc...
what I meant was a proxy that implements HTTP/1.1 CONNECT
and a server behind it like
``` mkfifo /tmp/myfifo cat /tmp/myfifo | nc -l 12345 > /tmp/myfifo ```
so if you manually type out
you can see exactly what's happening. To be fair you can hack curl to support that via but that's not exactly what you want and requires curl to have been compiled with telnet support.