update the basic stackv4 test to use a polymorphic function
Improve the callback function exposure in STACKV4 by embedding UDPV4 and TCPV4