         request-config (update config :headers
                                (fn prepare-inter-router-requests-headers [headers]
                                  (-> headers
-                                     (assoc "accept" "application/json")
-                                     (update "x-cid"
-                                             (fn attach-inter-router-cid [provided-cid]
-                                               (or provided-cid
-                                                   (let [current-cid (cid/get-correlation-id)
-                                                         cid-prefix (if (or (nil? current-cid) (= cid/default-correlation-id current-cid))
-                                                                      "waiter"
-                                                                      current-cid)]
-                                                     (str cid-prefix "." (utils/unique-identifier)))))))))]
+                                   (assoc "accept" "application/json")
+                                   (update "x-cid"
+                                           (fn attach-inter-router-cid [provided-cid]
+                                             (or provided-cid
+                                                 (let [current-cid (cid/get-correlation-id)
+                                                       cid-prefix (if (or (nil? current-cid) (= cid/default-correlation-id current-cid))
+                                                                    "waiter"
+                                                                    current-cid)]
+                                                   (str cid-prefix "." (utils/unique-identifier)))))))))]
     (when (and (empty? router-id->endpoint-url')
                (not-empty router-id->endpoint-url))
       (log/info "no acceptable routers found to make request!"))

          kill-instance-endpoint
          :acceptable-router? #(= dest-router-id %)
          :method :post)
        (get dest-router-id))
    (catch Exception e
      (log/error e "error in killing instance of" service-id))))


                                      (wrap-secure-request-fn
                                        (fn state-interstitial-handler-fn [request]
                                          (handler/get-query-chan-state-handler router-id interstitial-query-chan request)))))
   :state-kv-store-handler-fn (pc/fnk [[:curator kv-store]
                                       [:state router-id]
                                       wrap-secure-request-fn]
                                (wrap-secure-request-fn
                                  (fn kv-store-state-handler-fn [request]
                                    (handler/get-kv-store-state router-id kv-store request))))
   :state-launch-metrics-handler-fn (pc/fnk [[:daemons launch-metrics-maintainer]
                                             [:state router-id]
                                             wrap-secure-request-fn]
