Update proxy.lua

prevent ypcall from being called on C functions