Fix res.send double-calling res.end for HEAD requests

fixes #2467