add req/res to domain handler