I am working on a JWT egg for Chicken 5. I find that I need a URL-safe version of base64 encoding a la [1]. Please find attached a patch to the base64 egg with the general idea. I would like to support port I/O as well but I'm not sure how to proceed.