Modrewrite middleware for connect/express