reset after rate errors

this causes better recovery from prolonged missing / slow connection.
add isValidSeqNo to test if a sequence number is contained in an index
abort() streams for segments that are no longer valid