new method  Session::write(Packet)