Changed implementation to rely on mdns module instead of spawning system processes