move writeHead to successful response and don't close req until the end - closes issue #8
move writeHead to successful response and don't close req until the end - closes issue #8

danheberden/gith,startappdev/gith,lklepner/gith