Adding proper service up and service down support to mdns discovery