fix sequence number bugs (gap offset, loss of 1 seq for SYN)