remove old code that was filling in for when pycurl is not available