network: rework TCP option parsing slightly so our attempt to just get the MSS doesn't infinitely loop