Adapt to latest CURLHandle