Set status to `:not_connected` when `Session#start` fails.
Style and ruby 1.8 compatibility fixes.
Merge pull request #117 from abecciu/session-open-fix

Set status to `:not_connected` when `Session#start` fails.