allow passing :session_id and :session_passwd options

This would allow for session recovery in case of client error. After connection, save session id and password in a file, and specify those values when reconnecting. Mainly useful to keep ephemeral nodes across process restarts.