Added ability to set session save handler.