Advanced SDN-Based QoS and Security Solutions for Heterogeneous Networks