Unify most of handle_sendnodes[_ipv6]() into a common core.

Leave only the minimally required different trail.