depcreate res.headerSent