Check for failures (e.g., EOF) in `HttpClient` TLS reader before marking handshake completed.
--------- - [X] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - Propagate handshake failures before completion - Verify accepted connection count in `HandshakeFailureTest` Changes: https://git.openjdk.org/jdk/pull/34134/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=34134&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8397147 Stats: 44 lines in 2 files changed: 39 ins; 0 del; 5 mod Patch: https://git.openjdk.org/jdk/pull/34134.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/34134/head:pull/34134 PR: https://git.openjdk.org/jdk/pull/34134
