In official doc, there is some sample code:
var req = http.request(options, function(res) { console.log(\'STATUS: \' + res.statusCode); console.log(\'HEADERS
Both on and addListener are aliases for the same function.
on
addListener