Fix bugs in Packet.java