Replace pycurl by requests