fixed #9 - die with an error message from the server when the URL is not available