Optionally follow redirects from HTTPS to HTTP and vice versa.

The API is imperfect because HttpURLConnection doesn't expose
any SSL information, and because HttpsURLConnection won't necessarily
have a secure final request.