Simple REST routing middleware for connect or express