Handle identity transfer-encoding when determining body length