Rewrite URL router to send Flux-style events