Use end to send the response and end it
Merge pull request #2 from luuse/endstream

Use end to send the response and end it