Add req.hostname

closes #2179