docs: private static List<Integer> exploreTLSRecord(
              ByteBuffer input, byte firstByte, byte secondByte,
              byte thirdByte) throws SSLException {
  
          // Is it a handshake message?
          if (firstByte != 22) {        // 22: handshake record
              throw UndertowMessages.MESSAGES.notHandshakeRecord();
          }
  
          // Is there enough data for a full record?
          int recordLength = getInt16(input);
          if (recordLength > input.remaining()) {
              throw new BufferUnderflowException();
          }
  
          // We have already had enough source bytes.
          try {
              return exploreHandshake(input,
                      secondByte, thirdByte, recordLength);
          } catch (BufferUnderflowException ignored) {
              throw UndertowMessages.MESSAGES.invalidHandshakeRecord();
          }
      }