Added some error handling

Connection Refused error when pairing
Invalid pairing code if pairing code malformed
Merge pull request #28 from philosodad/master

Added some error handling