model: Fixing bug with wire format handling

When decoding Data/Interest packets, wire format was set and then
immediately (indirectly) reset to 0, leading to incorrect tracing
results (and, most likely, unnecessary performance regression).

Thanks to Tun Tun Oo for reporting the bug!
diff --git a/model/wire/ccnb/wire-ccnb-interest.cc b/model/wire/ccnb/wire-ccnb-interest.cc
index f1711f8..af4fc0f 100644
--- a/model/wire/ccnb/wire-ccnb-interest.cc
+++ b/model/wire/ccnb/wire-ccnb-interest.cc
@@ -100,12 +100,13 @@
 Interest::FromWire (Ptr<Packet> packet)
 {
   Ptr<ndn::Interest> interest = Create<ndn::Interest> ();
-  interest->SetWire (packet->Copy ());
+  Ptr<Packet> wire = packet->Copy ();
 
   Interest wireEncoding (interest);
   packet->RemoveHeader (wireEncoding);
 
   interest->SetPayload (packet);
+  interest->SetWire (wire);
 
   return interest;
 }