Trying to fix usage of read only req.headers