flexible front-end http router