docs: public static boolean checkOrigin(ServerEndpointConfig config, WebSocketHttpExchange exchange) {
          ServerEndpointConfig.Configurator c = config.getConfigurator();
          return c.checkOrigin(exchange.getRequestHeader(Headers.ORIGIN_STRING));
      }