add domain-http-server as default middleware