Improve source address selection

Since an ipv6 interface can have many ip addressed the selection of the
source address of an ipv6 packet has to be made before output
processing (for example, in the case of tcp/udp packets the source
address is needed to compute the checksum).
Use current hop lim during output processing