Fix issue with large responses on 32-bit systems.

The __len__ attribute in python only returns an integer, and will throw an OverflowError if the object is greater than sys.maxint.