Remove non-functional handling of curl_error()

Per the docs, curl_error() returns a full error string, not an int
or string of an int. Just remove that and pass the error back up.

Change-Id: I7434bb2abda056fdee4d670c192b304c0cdf24f7
Merge "Remove non-functional handling of curl_error()"