crypto: Added TLS1.1/TLS1.2 support