[session] infrastructure for MemoryCache state store