Added maxAge parameter to stores (reduce amount of old data to be loaded and synced)
Some bugfixes in socketserver behaviour
Commented out some stale code