docs: private static List<Integer> exploreHandshake(
              ByteBuffer input, byte recordMajorVersion,
              byte recordMinorVersion, int recordLength) throws SSLException {
  
          // What is the handshake type?
          byte handshakeType = input.get();
          if (handshakeType != 0x01) {   // 0x01: client_hello message
              throw UndertowMessages.MESSAGES.expectedClientHello();
          }
  
          // What is the handshake body length?
          int handshakeLength = getInt24(input);
  
          // Theoretically, a single handshake message might span multiple
          // records, but in practice this does not occur.
          if (handshakeLength > recordLength - 4) { // 4: handshake header size
              throw UndertowMessages.MESSAGES.multiRecordSSLHandshake();
          }
  
          input = input.duplicate();
          input.limit(handshakeLength + input.position());
          return exploreRecord(input);
      }