code: func StringTLSVersion(version string) uint16 {
  	switch version {
  	case "1.2":
  		return tls.VersionTLS12
  	case "1.1":
  		return tls.VersionTLS11
  	default:
  		return tls.VersionTLS10
  	}
  }
docs: // StringTLSVersion returns underlying enum values from human names for TLS
  // versions, defaults to current golang default of TLS 1.0