Fix "JAP-client" hideous ASN1 bug, twice. (Fix1: check more thoroughly for TLS errors...