fixes #1 (implements the mdns registration for the api server)