tcp: fix handling of broken syn options