adds middleware for logging requests as curl and a converter from clj-http requests