Throw SendGridException on IOException while communicating with SendGrid API.

Fixes #51.
Merge pull request #52 from chrisdinn/issue_51

Throw SendGridException on IOException communicating with SendGrid API