proto support (tcp/udp) to callback + cleanup files