TLS handshake working for PSK