Fixed Seq and Ack related bugs