use http.request instead of http.createClient