Fixed setting curl options
Fixed CURLOPT_IPRESOLVE constant value