web.resource: add _pre_handler() support, to be called before the handler
web.resource: add _pre_handler() support, to be called before the handler

and allow early failing

sancus-project/sancus-lua-web