Mdns: Added timeout callback and argument validation