title: ssl handshake on every request in multiThreaded client
body: <p>Architecture is midTier Liberty server that receives http requests and brokers to various back ends, some REST, some just JSON.  When I configure for SSL (only thru envVars which is quite cool) ... it appears I get a full handShake w/every request.  Additionally, the server side uses a different thread with each request (may be related). This is Liberty so it is multiThreaded.  Servlet has static ref to POJO that does all apache httpClient work.  Not using HttpClientContext (in this case).  Basic flow is at end (struggling w/formatting for post legality)</p>
  
  <p>EnvVars are:</p>
  
  <pre><code>-Djavax.net.ssl.keyStore=/root/lWasServers/certs/zosConnKey.jks
  -Djavax.net.ssl.trustStore=/root/lWasServers/certs/zosConnTrust.jks
  -Djavax.net.ssl.keyStorePassword=fredpwd
  -Dhttp.maxConnections=40
  </code></pre>
  
  <p>Looked at many similar problems, but again, right now this flow does not use client context.  Hoping I'm missing something simple.  Code being appended on first response as I continue to struggle here w/FF in RHEL.</p>
  
  <pre><code>private static PoolingHttpClientConnectionManager cm = null ;
  private static CloseableHttpClient httpClient = null ;
  // ....
  cm = new PoolingHttpClientConnectionManager();
  cm.setMaxTotal(512);
  cm.setDefaultMaxPerRoute(256) ;
  httpClient = HttpClients.custom().setConnectionManager(cm).build() ;
  // ...
  responseBody = httpClient.execute(httpGet, responseHandler);
  </code></pre>