Better check of DH parameters in TLS data