Manually set session when on polarssl 1.1