Handle rename of httplib to http.client for Python 3.x
Fix relative imports