Fixed the code that checks for NACKS with expected sequence numbers that are outside the sliding window.
More fixes to the NACK ckeck algorithm.
Now triggering the out-of-sliding-window rescue mechanism only if there have been more than 10 resending of the message. This takes care of the case with network duplicated NACK messages
Made error messages a bit more informative.