Changed the Client to use the HttpClient

#1908
Modified ResponseMessageWrapper to dispose the client

#1908