set `headerSent` on `header` event
[test] check `headerSent` and `_emittedHeader` are set in response stream
Merge pull request #45 from fent/master

set `headerSent` on `header` event