Throwing an error when connection to remote server fails
Reporting better error messages on HTTP errors