Generic transparent proxies via a C extension module