Fixed assertion on reconnect/newsession.
Merge pull request #61 from JasonL9000/debug-assert

Fixed assertion on reconnect/newsession.