Make sure to include Content-Length header in calls with body

Fixes #70