client: increase coverage of httpClient.do