fix urllib/urllib2/urlparse renamings in PY3 #38

Close #384.