Make GetHashCode of Quaternion, Vector2/3/4 unchecked

Fixes System.OverflowException
Simplification and less duplicated code for some packet handlers

Avoid using packet.WriteLine