has anyone written a worker based redirect / rewrite / proxy with configuration similar to netlify's _redirects?