BUG/MINOR: ssl: isolate TLS session resumption per crt-list filter
ssl_set_session_id_context() folds the frontend's own leaf certificate
identity into sid_ctx, but a crt-list can point several entries at the
exact same certificate file, distinguished only by their SNI filter,
e.g.:
cert.pem foo.example.com
cert.pem bar.example.com
Each entry gets its own SSL_CTX/ckch_inst, but since both share the same
certificate, they still end up with an identical sid_ctx, and a session
established while connecting to "foo.example.com" can be resumed under
"bar.example.com" (or any other filter sharing that certificate) without
the servername callback/SNI match ever running again on the resumed
handshake.
Fix the issue by adding a ckch_inst parameter in order to hash the
filters provided by the crt-list.