SSL_copy_session_id
__owur int SSL_copy_session_id(SSL *to, const SSL *from);
if (!SSL_copy_session_id(tdata->ssl, (fdata->ssl)))
if (!SSL_copy_session_id(ret, s))