You should explicitly call out here that header may be undefined in the case where we were loaded from cache, but that's okay because the message reader knows how to deal with this.