Pycurl wrapper