Fix up req.esi to only be available in client context.

Fixes: #1489
Spotted by: xcir