Added error handling for dodgy connections

Signed-off-by: Garage Pythons <garagepythons@gmail.com>
Merge branch 'master' of https://github.com/garagepythons/nebulousChat