serve method
Implementation
Future serve(List<String> arguments) async {
args.parse(arguments);
print("starting HTTP server...");
await config.load(args.configPath);
print('datadir: $datadir port: $port');
HttpServer server = await HttpServer.bind(InternetAddress.anyIPv4, port);
print("listening on http://*:$port");
server.listen(handleRequestWithTimeout);
}