Fix regexp params during client and server routing so they get passed properly to the controller's first argument