fix httplib import statements for 2.*