code: def get_host_and_url(properties, cloud_token):
          
          host = properties.get(HazelcastCloudDiscovery.CLOUD_URL_BASE_PROPERTY.name,
                                HazelcastCloudDiscovery.CLOUD_URL_BASE_PROPERTY.default_value)
          host = host.replace("https://", "")
          host = host.replace("http://", "")
          return host, HazelcastCloudDiscovery._CLOUD_URL_PATH + cloud_token
docs: Helper method to get host and url that can be used in HTTPSConnection.
  
          :param properties: Client config properties.
          :param cloud_token: Cloud discovery token.
          :return: Host and URL pair