packets.lua: Minor adjustments