At the moment client-side session caching only respects `SSL_CTX_sess_set_cache_size`, but not the cache mode, callbacks, `SSL_get_session` etc. Meaningfully implementing `SSL_get_session` would mean rustls client sessions would need to become serialisable -- they currently are not.