(TK-103) DRYed up Clojure client request
(TK-103) DRYed up Clojure client request

This commit removes some repeated code from the Clojure sync request
function and changes the surrounding try/catch/finally block to make use
of the Clojure `with-open` macro.

rlinehan/clj-http-client,dmcpl/clj-http-client,camlow325/clj-http-client,dmcpl/clj-http-client,scottyw/clj-http-client,puppetlabs/clj-http-client,scottyw/clj-http-client,puppetlabs/clj-http-client,camlow325/clj-http-client,rlinehan/clj-http-client