write_session
if (write_session(server_sess_out, SSL_get_session(s_ssl)) == 0) {
if (write_session(client_sess_out, SSL_get_session(c_ssl)) == 0) {