Added CURLOPT_SSL_VERIFYPEER = 0 option,
Fixed error reporting in call to curl