I don't think this change is safe. We do crazy things to make sure the response cache gets the right subclass (HttpURLConnection or HttpsURLConnection) and with this I think we get the wrong one.