Deprecate calling session_set_save_handler() with more than 2 arguments
Add regression test for not setting optional closures again