Sessions, locks and handlers

Tested using APCu to store sessions and it indeed did shave off some measurable (7ms per request) time :slight_smile:
Time will tell whether data-inconsistencies will occur.