Added support for https on the service URL.