add req.headers, closes #1114