base httpInterceptor implementation to catch errors etc