Now packet use shared_ptr.