Update PacketHandler.java to convert byte better