Added try/catch-blocks in order to protect the client/server from failing when receiving incomplete data.
Merge branch 'master' of github.com:emanuelpalm/chatter