Client catches error when trying to send when not connecting.
Merge pull request #1 from AdamMagaluk/master

Client catches error when trying to send when not connecting.