initial stab at support for request and response interceptors over the REST API