SECURITY UPDATE: Denial of Service caused by unbounded TLS handshake
wrap queue in SecureNio2Channel / SecureNioChannel. Backport upstream
fix from 9.0.x commit 76c5cce6f0bcef14b0c21c38910371ca7d322d13.
debian/patches/CVE-2024-38286.patch: cap the handshake wrap queue at
HANDSHAKEWRAPQUEUELENGTHLIMIT (100) and close the connection
with a localised error message if the cap is exceeded, covering
both Nio2 and Nio connector variants. Also includes upstream
follow-up bfa5de95ad ("Avoid possible lost update") which converts
the SecureNio2Channel counter to AtomicInteger and resets it in
reset() to prevent a non-atomic read-modify-write race.