Timeout if HTTP header or TLS handshake takes too long.