Publish mdns events via bonjour or avahi, depending on the platform