Faraday 1.x and 2.x compatible extraction of FaradayMiddleware::FollowRedirects for HTTP redirect following.