Is there an example about extending handle_request? I haven't been able to find an API I can add my own paths to the handle_request loop.