test: refactor two http client timeout tests
Refactor test-http-client-set-timeout and test-http-client-timeout-option-with-agent.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Do not update/delete: Banner broadcast message test data
Do not update/delete: Notification broadcast message test data
Refactor test-http-client-set-timeout and test-http-client-timeout-option-with-agent.
make -j4 test
(UNIX), or vcbuild test
(Windows) passes