ActiveResource stores the headers hash in ```Thread.current[:local_var]```. Unless we switch from ActiveResource to something a bit more sensible the ```Thread.current``` stack we will spoiled anyway.
I do agree this is far from an elegant solution (but it's thread safe :trollface:).