           ^HttpEntity entity (.getEntity response)
           status (.getStatusLine response)]
       {:body (coerce-body-entity entity conn-mgr response)
+       :headers (parse-headers
+                 (.headerIterator response)
+                 (opt req :use-header-maps-in-response))
        :length (.getContentLength entity)
        :chunked? (.isChunked entity)
        :repeatable? (.isRepeatable entity)

           (org.apache.http.entity ByteArrayEntity StringEntity)
           (org.apache.http.impl.client BasicCredentialsProvider
                                        CloseableHttpClient HttpClients)
           (org.apache.http.impl.conn PoolingHttpClientConnectionManager)))

(defn http-route []
  ;; TODO add proxy support

           server-port
           request-method
           query-string
           conn-mgr
           uri]
    :as req}]
  (let [scheme (name scheme)
