Add a wrapper around the mdns interface implementation.
This might seem weird, but it's preparation to do more implementation work on Windows. Possibly also macOS, as it's weird that Avahi appears to be used and not Apple's version.
Testing Done:
Compile on both, and run on Linux.
Reviewed at https://reviews.imfreedom.org/r/315/
# Copyright (C) 2010 Free Software Foundation, Inc.