Use urllib2 to replace pycURL, which is not updated since long ago and need relative packages installed.