Add mDNS support. Fixed a race condition with etorrent_ctl:stop/1 in the metadata downloader.