Added HTTPS support in ServiceApiDriver.