Added flag to disallow duplicate mDNS registration.