fixed; handle connection errors

Includes often require making requests to other servers which may be down. This change handles this error and properly passes it back through to the callback instead of trying to parse a non-existant response.

also fixes #129