Can we set the header before we do `res.send`? IIRC, there was a time when res.send would close the socket and all further changes would end up at the client.