Updated lib/request.js to use http.request as http.createClient is depreciated