Revert content_length to be int

A cleaner fix for this :)