beware the writeHead re-writer!