code: func (a *AddrManager) DeserializeNetAddress(addr string,
  	services wire.ServiceFlag) (*wire.NetAddress, error) {
  
  	host, portStr, err := net.SplitHostPort(addr)
  	if err != nil {
  		return nil, err
  	}
  	port, err := strconv.ParseUint(portStr, 10, 16)
  	if err != nil {
  		return nil, err
  	}
  
  	return a.HostToNetAddress(host, uint16(port), services)
  }
docs: // DeserializeNetAddress converts a given address string to a *wire.NetAddress.