Fixes containsNonSimpleHeaders

containsNonSimpleHeaders currently no-ops since it iterates over a bool instead of the headers object.  Simple fix caught while reviewing, not sure if this is causing problems in any functionality.