Use ASSERT_EQ correctly.
Do not iterate over input bytes when processing identity request body.
Do not iterate over input bytes when processing identity response body.
Split state RES_BODY_IDENTITY into 2 simpler RES_BODY_IDENTITY_CL_KNOWN and RES_BODY_IDENTITY_STREAM_CLOSE.
Tidy up.
Do not iterate over input bytes when processing response chunks.
Do not iterate over input bytes when processing request chunks.