// establish output transformation chain:
// byteBufferToArray -> sslOutput -> channelWriter
sslOutputForwarder = new SSLOutputForwarder(
sslEngine, initialPlainTextBufferSize);
sslOutputForwarder.setHandshakeNotifier(handshakeNotifier);
channelWriter = new ChannelWriter(false);
sslOutputForwarder.setNextForwarder(channelWriter);
byteBufferToArrayTransformer = new ByteBufferToArrayTransformer();
byteBufferToArrayTransformer.setNextForwarder(sslOutputForwarder);
// cross reference both transformers (needed for handshake)