protocol: packets now have ids automatically assigned to them
protocol: Updated packets to correctly reflect 13w41b changes.
Fixed VarInt encoding and added VarInt length support for arrays