adds interceptor to RestClient instead of manual rewriting