switched to pycurl from requests