Update to use http.request