simplify http server in advanced example