docs: @Override
      public void process(@NotNull final Bytes in, @NotNull final Bytes out, final N nc) {
          if (!handshakeComplete) {
              try {
                  doHandshake(nc);
              } catch (Throwable t) {
                  LOGGER.error("Failed to complete SSL handshake at " + Instant.now(), t);
                  throw new IllegalStateException("Unable to perform handshake", t);
              }
              handshakeComplete = true;
          }
  
          bufferHandler.set(delegate, in, out, nc);
          stateMachine.action();
      }