Fix 2 bugs :
- davidkirwan/andchat#40 : Crash on startup if connection fails
- davidkirwan/andchat#43 : Crash during session if network is d/c'd
Merge pull request #44 from LiamPower/master

Fix 2 bugs :