Refactored curly and clj-http request commonality