docs: @SuppressWarnings("deprecation")
  	private void setLegacySocketTimeout(HttpClient client, int timeout) {
  		if (org.apache.http.impl.client.AbstractHttpClient.class.isInstance(client)) {
  			client.getParams().setIntParameter(
  					org.apache.http.params.CoreConnectionPNames.SO_TIMEOUT, timeout);
  		}
  	}