Heavily modified version of the avahi mdns client