bindServer static method
Implementation
static Future<HttpServer> bindServer(String host, int port) async {
var server = host == 'localhost'
? await HttpMultiServer.loopback(port)
: await HttpServer.bind(host, port);
server.autoCompress = true;
return server;
}