Fix a typo and add ability to setHeader/setHeaders on a Task object