added general pycurl processor functions