It seems the only way to use this library is with Deno or other environments that have a very similar API, but internally this library works with any JS request and response.
It would be fab if functions were exposed to convert from a JS request into a Glen request, and from a Glen response into a JS response.
I would be tempted to also remove the custom serve function in favour of this, as it's quite convoluted to use unless the server you're using has exactly the same API as deno.