clone of https://github.com/mumble-voip/mumble/tree/master/src/bonjour (originally from http://doc.qt.digia.com/qq/qq23-bonjour.html)