8216561: HttpClient: The logic of retry on connect exception is inverted

Allows retry on connect exception by default, ensuring that the second attempt takes into account the time spent in the first attempt in order to honor the connect timeout value (if present).

Reviewed-by: chegar
4 files changed