Splitting Network Functions in 5G