Improve CURL error handling
Improve CURL error handling

        This patch is for addressing a usage of a particular macro for
error code that was assumed to be defined after 7.12.0 CURL version.
But this was not defined in 7.12.1 also and
+it ultimately came only in 7.13.0, so the check has changed from >
7.12.0 to >= 7.13.0
        Also it was assumed that when a MACRO is not present due to
lower version we return an integer, the value returned was 1000 but it
should have been 67, that’s what the macro
+value is, when expanded.
        To make the behavior for client consistent while handling
http_status codes across WinHttp client and Curl Client in OpenWSMAN.

Fix by A_Venkatachalam@Dell.com


kkaempf/openwsman,kolbma/openwsman,kkaempf/openwsman,photron/openwsman,kkaempf/openwsman,kolbma/openwsman,kkaempf/openwsman,vcrhonek/openwsman,kkaempf/openwsman,photron/openwsman,kolbma/openwsman,kkaempf/openwsman,photron/openwsman,photron/openwsman,Openwsman/openwsman,vcrhonek/openwsman,Openwsman/openwsman,Openwsman/openwsman,vcrhonek/openwsman,kolbma/openwsman,photron/openwsman,vcrhonek/openwsman,kolbma/openwsman,vcrhonek/openwsman,Openwsman/openwsman,photron/openwsman,vcrhonek/openwsman,Openwsman/openwsman,vcrhonek/openwsman,kkaempf/openwsman,Openwsman/openwsman,kolbma/openwsman,photron/openwsman,Openwsman/openwsman,kolbma/openwsman