Optimize netconf capability handling