add httplib support like http.client