Added some checks for receiving a packet with a bad ACK, and some checks to handle it
Invalid SEQ/ACK values now triggers a re-send of the most recent packet