finished HttpClient exercise