handleRootRequest method
Implementation
Future handleRootRequest(HttpRequest request) async {
var urlBase = request.requestedUri.resolve("/").toString();
var xml = device.toRootXml(urlBase: urlBase);
request.response
..headers.contentType = _xmlType
..writeln(xml)
..close();
}