code: func New(URL string) (p *Provider, err error) {
  	u, err := url.Parse(URL)
  	if err != nil {
  		return
  	}
  	if !strings.Contains(u.Scheme, "tcp") {
  		err = errInvalidURL
  		return
  	}
  	var clientPort int
  	if u.Port() != "" {
  		clientPort, err = strconv.Atoi(u.Port())
  		if err != nil {
  			return
  		}
  	}
  	p = &Provider{
  		Host: u.Hostname(),
  		Port: clientPort,
  	}
  	return
  }
docs: // New create provider