private HandshakeStatus runDelegatedTasks() {
        for (;;) {
            Runnable task = delegatedTask();
            if (task == null) {
                break;
            }
            task.run();
        }
        return sslEngine.getHandshakeStatus();
    }
Executes the SSLEngine tasks needed.
@return HandshakeStatus
clients/src/main/java/org/apache/kafka/common/network/SslTransportLayer.java