https: Use secureProtocol in Agent#getName
Checklist
-
make -j8 test
(UNIX), orvcbuild test nosign
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines
Affected core subsystem(s)
https
Description of change
Fix oversight pointed out by @bnoordhuis in #9324 (closed). The value of the secureProtocol
option should be used as a "discriminator" when determining whether an existing HTTPS connection can be reused.