Count connection attempts by spotting a change in the expected length of data to be sent.