extractWaitingStage

Extracts the waiting stage from the message header.

Return

The CommandStage if present and valid, null otherwise.