remove implicit unicode->ascii conversion when checking length; tested by turning off the mocking of GET requests, so a fix to one of the test URLs was needed too
Merge branch 'hotfix/fix_content_length_calc'