Don't use mem::transmute for the argument to CreateProxyHandler.