Update protocol and Packet.java