Fix req.host for IPv6 literals

fixes #2102