func GetURL(conf *Config, path string) string {
	var proto = "http"
	if conf.TLS != nil {
		proto += "s"
	}

	return proto + "://" + conf.Addr + path
}
func GetURL(conf *Config, path string) string {
	var proto = "http"
	if conf.TLS != nil {
		proto += "s"
	}

	return proto + "://" + conf.Addr + path
}
// GetURL returns a server URL for a given path.