Added more descriptive error message when throwing an exception on a failed request.
Added printing the root message of the exception to console.
Fixed Azure emulator hack with proper solution that extracts the relative addresses using the absolute path of Uri class instead of comparing to base the Url of the client.
Cleaned code, removed unused variables.
Made comment more accurate.