Update proxy.lua

now supporting __len metamethod