Fixes containsNonSimpleHeaders

containsNonSimpleHeaders currently hoops 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.
Merge pull request #1 from joeenzminger/master

Fixes containsNonSimpleHeaders