This is a rather huge patch, which unfortunately cannot be splitted. Instead of using our custom ioops.h library, convert everything to use the GLib main loop.
Add G_GNUC_UNUSED attributes.
Moved implementation specific code to their own sources, internal declarations in zeroconf-internal.h.