An automatic interceptor to handle HTTP errors and optionally show dialog to be nice to the user. Special handling for IBM Analytics (aka Cognos) usecases.