Implemented lifetime-guarantees for the Peer type, added ctors for Packet