Text this: Cognitive network routing algorithm based on service awareness and policy choice