Redis-based session handler for Magento with optimistic locking