docs: public static void main(String[] args) {
          try {
              ConverterServerBuilder builder = asBuilder(args);
              HttpServer httpServer = builder.build();
              Logger logger = LoggerFactory.getLogger(StandaloneServer.class);
              try {
                  sayHello(builder, logger);
                  System.out.println("The documents4j server is up and running. Hit the enter key to shut it down...");
                  if (System.in.read() == -1) {
                      logger.warn("Console read terminated without receiving user input");
                  }
                  sayGoodbye(builder, logger);
              } finally {
                  httpServer.shutdownNow();
              }
              System.out.println("Shut down successful. Goodbye!");
          } catch (Exception e) {
              LoggerFactory.getLogger(StandaloneServer.class).error("The documents4j server terminated with an unexpected error", e);
              System.err.println(String.format("Error: %s", e.getMessage()));
              System.err.println("Use option -? to display a list of legal commands.");
              System.exit(-1);
          }
      }