Update MDNS-SD.java

for new android os. Can't use soccket on main thread.