code: func (s *Server) newConn(conn net.Conn) *clientConn {
  	cc := newClientConn(s)
  	if s.cfg.Performance.TCPKeepAlive {
  		if tcpConn, ok := conn.(*net.TCPConn); ok {
  			if err := tcpConn.SetKeepAlive(true); err != nil {
  				logutil.Logger(context.Background()).Error("failed to set tcp keep alive option", zap.Error(err))
  			}
  		}
  	}
  	cc.setConn(conn)
  	cc.salt = util.RandomBuf(20)
  	return cc
  }
docs: // newConn creates a new *clientConn from a net.Conn.
  // It allocates a connection ID and random salt data for authentication.