ensure void body is quick in keep-alive connections

Writing a void body, when the connection is keep-alive, there is no way for the client to tell when the body is done without a content-length, so it takes 10 seconds.

This pull request fixes that.