fix JmDNS api + add some logs