Test related to connect error for TLS/SSL targets on some JDK versions.