code: func (cn *connection) isPreferredDirection() bool {
  	return bytes.Compare(cn.t.cl.peerID[:], cn.PeerID[:]) < 0 == cn.outgoing
  }
docs: // Returns true the dialer has the lower client peer ID. TODO: Find the
  // specification for this.