SSL/TLSv1.2 support/fix