check for content-length header before setting it in nextTick
Merge pull request #955 from camilleanne/master

check for content-length header before setting it in nextTick