[HttpClient] Update sample to work with unified API