add stats handling to domain-server