Changed the clients to use the portable HttpClient
Made changes to fix the build errors