Function nextPacket

Create the next packet for routing (if the next channel ID is not empty)

OnionPacket nextPacket (
  in ref const(OnionPacket) packet
);