merged tcp and udp test apps into single app_tcp_handler