Don't use mem::transmute for the argument to CreateProxyHandler.
auto merge of #2596 : Ms2ger/servo/CreateProxyHandler-transmute, r=jdm