TLS session manager with limitation, automatic pruning, energy saving
and replay resistance
