Coming in late, but Woodsheal has it pretty much right. The neckstock was a military item for the most part, while the cravat was worn from at least the 16th century if not earlier (this is as far back as I've studied the clothing) by civilians and officers (though some officers wore a linen stock instead of one made of leather or horsehair). The cravat eventually evolved into the necktie we know today.