ported router_uwsgi to the new api