Fixed issue that caused ServiceURL to be always using https when RegionEndpoint is set