leave res.write up to the dev.

look at issue #2 for more info.