Use accessors instead of `Thread.current` on `Octopus::Proxy#clean_proxy`