Showing the correct curl error

Previously, was echoing $ret as a string, which it isn't.
Merge pull request #6 from mickrip/patch-1

Showing the correct curl error (on debug)