adding compatibility for new node-mdns-js api