code: public static final HttpClient getSecureClient() {
          HttpClientBuilder client = HttpClientBuilder.create();
          // set the ssl verifier to accept all
          client.setSSLHostnameVerifier(new NoopHostnameVerifier());
          // set the connection manager
          client.setConnectionManager(connectionManager);
          // dont retry
          client.setRetryHandler(new DefaultHttpRequestRetryHandler(0, false));
          // establish a connection within x seconds
          RequestConfig config = RequestConfig.custom().setSocketTimeout(connectionTimeout).build();
          client.setDefaultRequestConfig(config);
          // no redirects
          client.disableRedirectHandling();
          // set custom ua
          client.setUserAgent(userAgent);
          return client.build();
      }
docs: Returns a client with all our selected properties / params and SSL enabled.
  
  @return client