Raise a custom Exception on connection error

Signed-off-by: Lewis Marshall <lewis@lmars.net>
Merge pull request #5 from flynn/custom-connection-error-exception

Raise a custom Exception on connection error