Promote via Bonjour/MDNS

This is a useful feature for mobile clients (entering and knowing IP-Addresses isn't that enjoyable on a small screen). This needs the `libavahi` package installed on Linux systems.
Could you make this `var ad = null;` please?