Added MarkNetworkAsStable and WaitForStableNetwork (wip)