Will crash if mExtraHeaders is NULL.