add missing res.write()
Merge pull request #86 from Trott/sse

add missing res.write()