We're trying to remove `wsgirequest`. The permissions hooks don't
do anything they can't do with our new request type. So let's
pass that in.
This was the last use of `wsgirequest` in the wire protocol code!
.. api::
hgweb.hgweb_mod.permhooks no longer take a ``wsgirequest`` instance as an argument.