Split out long routines in udpRouter into udpPacket and udpAnnouncePacket structs
Cleanup and catch panics in udpPacket and udpAnnouncePacket