Set ssl session when on PolarSSL 1.1.x