Python 3 support for httplib and urllib and urlparse

These changes leverage six to provide Python 3 compatibility for httplib, urllib, and urlparse modules.
If you replace this with a `from six.moves import urllib`, like the other files, it should fix the build failure.