Handle larger content lengths. Fix reporting errors.