Fixed http.py for 3.x users

urlparse.urlparse moved to urllib.parse.urlparse