timob-11671: use 'theHeaders' instead

testing steps in JIRA https://jira.appcelerator.org/browse/TIMOB-11671