combine wsgi api and server daemon