set Content-Length correctly
Merge pull request #1 from pseidemann/fix/content_length

set Content-Length correctly