updated curl error codes