added Packet.writeNull() #36