Merge "Move deduceRestrictedCapability to libs/net and rename it" into sc-dev