php session supporting multiple engines and encryption