add hooks to support middleware like Django
added TODO of session engine
update ChangeLog
added TODO of session encoding