net.c: Update net_udp_ functions to support IPv6
hub.c: Add support for IPv6 for outgoing UDP search results

Totally untested.