KAZOO-1864: only set diversion headers if it comes from a resource and goes back out a resource