@Nullable
    private static DomainSocketAddress findAddress(DomainSocketChannel ch) {
        final Channel parent = ch.parent();
        if (parent != null) {
            final DomainSocketAddress addr = toArmeriaDomainSocketAddress(
                    (io.netty.channel.unix.DomainSocketAddress) parent.localAddress());
            if (addr != null) {
                return addr;
            }
        }

        final DomainSocketAddress laddr = toArmeriaDomainSocketAddress(ch.localAddress());
        if (laddr != null) {
            return laddr;
        }

        return toArmeriaDomainSocketAddress(ch.remoteAddress());
    }
Finds the {@link SSLSession} of the current TLS connection.

@return the {@link SSLSession} if found, or {@code null} if not found or {@link Channel} is {@code null}.
core/src/main/java/com/linecorp/armeria/internal/common/util/ChannelUtil.java