code: func NewClient(endpoint string) *Client {
  	if strings.HasPrefix(endpoint, "https://") {
  		log.Fatal("the toxiproxy client does not support https")
  	} else if !strings.HasPrefix(endpoint, "http://") {
  		endpoint = "http://" + endpoint
  	}
  	return &Client{endpoint: endpoint}
  }
docs: // NewClient creates a new client which provides the base of all communication
  // with Toxiproxy. Endpoint is the address to the proxy (e.g. localhost:8474 if
  // not overriden)