Add a Content-Length header even if the response has no content data.
Without that, the browser's request stays pending as the socket is not
closed and it doesn't know how much data should be read
Manually merging pull request #49. @psh