packets.lua: Added lengths metatable and amended data