Revert bf0a0be71373dec515bbb54e0613a3b9b0c00b04 - curl error codes.