This commit fixes a bug related to the sequence/ack numbers checking
Signed-off-by: Ivo Calado <txithihausen@gmail.com>