code: public SSLConnectionSocketFactory prepareClientSSL() {
          try {
          	String path = Config.getProperty(Config.PROXY_KEYSTORE_PATH);
  			String pass = Config.getProperty(Config.PROXY_KEYSTORE_PASSWORD);
  			KeyStore trustStore = null;
  			if (path != null && pass != null) {
  
  				trustStore = KeyStore.getInstance(KeyStore.getDefaultType());
  				FileInputStream	instream = new FileInputStream(new File(path));
  				try {
  		            trustStore.load(instream, pass.toCharArray());
  		        } finally {
  		            instream.close();
  		        }
  			}
  			SSLContext sslContext = SSLContexts.custom().loadTrustMaterial(trustStore, new TrustSelfSignedStrategy()).build();
  	        String tlsVersion = Config.getProperty(Config.TLS_VERSION);
  	        SSLConnectionSocketFactory sslConnectionFactory = new SSLConnectionSocketFactory(sslContext, new String[]{tlsVersion}, null, new NoopHostnameVerifier());
              return sslConnectionFactory;
          } catch (Exception ex) {
              LOG.error("couldn't create httpClient!! {}", ex.getMessage(), ex);
              return null;
          }
      }
docs: Configures proxy if this is applicable to connection
  @throws FMSException