 (deftest ^:integration t-closed-conn-mgr-for-as-stream
   (run-server)
   (let [shutdown? (atom false)
-        cm (proxy [BasicClientConnectionManager] []
+        cm (proxy [BasicHttpClientConnectionManager] []
              (shutdown []
                (reset! shutdown? true)))]
     (try

(deftest ^:integration t-closed-conn-mgr-for-empty-body
  (run-server)
  (let [shutdown? (atom false)
        cm (proxy [BasicClientConnectionManager] []
             (shutdown []
               (reset! shutdown? true)))
        response (core/request {:request-method :get :uri "/unmodified-resource"

            [ring.adapter.jetty :as ring])
  (:import (java.security KeyStore)
           (org.apache.http.conn.ssl SSLSocketFactory)
           (org.apache.http.impl.conn BasicHttpClientConnectionManager)))

(def client-ks "test-resources/client-keystore")
(def client-ks-pass "keykey")
