Minor refactor in http client and cloud search performer.