Lock mime-types to ~> 1.25 on Ruby 1.8
Replace custom middleware with FaradayMiddleware