net/core: Add event for a change in slave state