docs: private UUID generateOrGetSessionIdFromRequest(HttpHeaders headers) {
          List<String> values = headers.getAll("io");
          if (values.size() == 1) {
              try {
                  return UUID.fromString(values.get(0));
              } catch (IllegalArgumentException iaex) {
                  log.warn("Malformed UUID received for session! io=" + values.get(0));
              }
          }
  
          for (String cookieHeader : headers.getAll(HttpHeaderNames.COOKIE)) {
              Set<Cookie> cookies = ServerCookieDecoder.LAX.decode(cookieHeader);
  
              for (Cookie cookie : cookies) {
                  if (cookie.name().equals("io")) {
                      try {
                          return UUID.fromString(cookie.value());
                      } catch (IllegalArgumentException iaex) {
                          log.warn("Malformed UUID received for session! io=" + cookie.value());
                      }
                  }
              }
          }
  
          return UUID.randomUUID();
      }