Improve TLS key exchange