Client simulator and optimization work