ported some stuff to get the server working on linux, also disabled mDNS for now