Add attachConsole option. Fix bug in filterHeaders.
Merge pull request #10 from qraynaud/master

Add attachConsole option.  Fix bug in filterHeaders.