The title actually says it all. If anyone wants to work on this just copy & paste and make sure that the code only runs when the detected geocoder scheme is HTTPS.