Timeout on connect and open

A testcase which times out only on read can be shown to block for
longer than the specified timeout when attempting to get from
http://1.1.1.1. With connect and open timeouts specified, the timeout
appears to operate correctly.

[#54290822]
Merge 54290822-timeout-connect-and-open to master

[Completes #54290822]