Move routing control to WebKernel, including error handlers