Try to repair a truncated response.

This is a patch for https://github.com/wordpress-mobile/WordPress-iOS/issues/2818

cc @koke 
Your comment is right, but in this case, I'd rather fail than risk succeeding with a modified response which could, in theory, lead to data corruption.