res.on("header") has been deprecated.