Core/WorldSocket: Refactored client packet header check