Merge "Add a NetworkAgent API to indicate that a network will be replaced."