making sure the service URL is protocol neutral so as not to break locks

Small modification to make sure the service URL, whether default or modified, is protocol neutral so that we don't break HTTPS locks