Replace http.request with request module