Implementation of promiscuous HttpsURLConnection