重写，更新到* Core/Network: Allow storing any packet types in Socket write queue to reduce the amount of copying going on