code changed to show alternative error message if proxy server fails as well