TSL works perfectly with v3 x509 certificates, proper fix for #12