Fix old urllib/urllib2/urlparse usage.
7 files changed