use an older pycurl api so that older versions work