Fix construtor, ignore curlOpt warnings