Send Content-Length when not sending any data.

Send Content-Length when not sending any data.

This fixes Issue #1