code: func (conn *Conn) h_001(line *Line) {
  	// we're connected!
  	conn.dispatch(&Line{Cmd: CONNECTED, Time: time.Now()})
  	// and we're being given our hostname (from the server's perspective)
  	t := line.Args[len(line.Args)-1]
  	if idx := strings.LastIndex(t, " "); idx != -1 {
  		t = t[idx+1:]
  		if idx = strings.Index(t, "@"); idx != -1 {
  			if conn.st != nil {
  				me := conn.Me()
  				conn.st.NickInfo(me.Nick, me.Ident, t[idx+1:], me.Name)
  			} else {
  				conn.cfg.Me.Host = t[idx+1:]
  			}
  		}
  	}
  }
docs: // Handler to trigger a CONNECTED event on receipt of numeric 001