possibility to add custom session handler (refs #4005)
session handler can be used also in PHP 5.3 (refs #4005)