docs: def set_api_server_info(host=None, port=None, protocol=None):
      '''
      :param host: API server hostname
      :type host: string
      :param port: API server port. If not specified, *port* is guessed based on *protocol*.
      :type port: string
      :param protocol: Either "http" or "https"
      :type protocol: string
  
      Overrides the current settings for which API server to communicate
      with. Any parameters that are not explicitly specified are not
      overridden.
      '''
      global APISERVER_PROTOCOL, APISERVER_HOST, APISERVER_PORT, APISERVER
      if host is not None:
          APISERVER_HOST = host
      if port is not None:
          APISERVER_PORT = port
      if protocol is not None:
          APISERVER_PROTOCOL = protocol
      if port is None or port == '':
          APISERVER = APISERVER_PROTOCOL + "://" + APISERVER_HOST
      else:
          APISERVER = APISERVER_PROTOCOL + "://" + APISERVER_HOST + ":" + str(APISERVER_PORT)