SSL_SESSION_encode
return SSL_SESSION_encode(ss, out, out_len, 1);
if (!SSL_SESSION_encode(ss, &data, &data_len, 0))