Ensure Content-Length is a string.
Remove test that cannot work on Python3.
Merge pull request #1116 from Lukasa/master

Correct type of Content-Length headers.