Fix for new faraday_middleware