Ack parsing optimization