Throw exception with actual CURL error

Instead of throwing a generic "cURL call failed" error, lets send along the actual error details so that the consumer can debug easily.