feat(httpok): Honor timeout also on connection refused events.

Currently the timeout value is only used to wait for data from
an sucessfully opened socket. With this change, we also wait
for the socket to become available. See CHANGES.txt for a case
where this is useful