Allow creating sessions with existing handle
Refactor session creation code into a private method and use it in both openSession and restoreSession
Merge pull request #13 from jdhok/develop

Allow creating sessions with existing handle