add support for UDP packets

just what it says on the tin. useful for processing DNS & mDNS packets, for example.