Minor bug in Packet.shift

It was including the index when it called Buffer.ensureCapacity.  That function already adds in the index, so you could run into problems as you get close to the maximum packet size.