The Legal Foundations of Free Markets