Make session timeout configurable.

- Make its default value to 10 seconds.
Merge pull request #68 from EasonLiao/session_timeout

change default session timeout to 10 sec