I think aData and aExtraHeaders were inadvertently swapped here.