Retrieve session idle timeout value...

...so we know how long a session id stays valid when not using it.

Next up is a bit of configuration file handling, and inventing a nice
way to handle logins and sessions...

(Cmd) login admin 1
DEBUG: Login successful, got sid: 682bb0cca83b8ce673e03696a435dfce
INFO: Session timeout: 86400
Allow use of Exceptions inside commands...

...for better control flow when exceptions occur, like executing some
request without being logged in.
Nicely handle invalid session