code: protected WebClient instantiateWebClient(URI uri) {
  		WebClient webClient = WebClient.create(uri);
  		webClient = webClient.accept(MediaType.APPLICATION_JSON);
  		webClient = webClient.header(apiAuthHeaderKey, getApitraryApi().getApiKey());
  		webClient = webClient.header("Content-Type", contentType);
  
  		HTTPConduit conduit = WebClient.getConfig(webClient).getHttpConduit();
  		TLSClientParameters params = conduit.getTlsClientParameters();
  		if (params == null) {
  			params = new TLSClientParameters();
  			conduit.setTlsClientParameters(params);
  		}
  		params.setDisableCNCheck(true);
  
  		HTTPClientPolicy policy = new HTTPClientPolicy();
  		policy.setConnectionTimeout(DEFAULTCONNECTIONTIMEOUT);
  		policy.setReceiveTimeout(DEFAULTRECEIVETIMEOUT);
  		policy.setAllowChunking(false);
  		conduit.setClient(policy);
  
  		return webClient;
  	}
docs: <p>
  instantiateWebClient.
  </p>
  
  @param uri
  a {@link java.net.URI} object.
  @return a {@link org.apache.cxf.jaxrs.client.WebClient} object.