Added constructor to accept a HttpClient