ssl = SSL_new(ctx)
... ssl̊ՂƂȂʐM̑wݒ肷...
... host:portɐڑ...
if (LbVhost:portɑΉZbVۑĂ)
  SSL_set_session(ssl, ۑꂽZbV)
  SSL_SESSION_free(ۑꂽZbV)
SSL_connect(ssl)
post_connection_check(ssl, host)ĂяoĖ߂lmF
... ʏ̃AvP[VR[h...
ۑZbV = SSL_get1_session(ssl)
if (ۑZbV != NULL)
  ۑZbVhost:portpƂăLbVɕۑ
SSL_shutdown(ssl)
SSL_free(ssl)
