[bitcoin/bitcoin] Dump HTTP request headers (#13992)

Yeah I was going to cherry pick that.

Thanks for reviewing.