Added res.setHeader and res.writeHead()