need to output http status here, as no access to responseWriter from user-defined function
Merge pull request #5 from jakeo/master

Set status code before hijackwrite function