add libthreadx for thread handling classes;
use ThreadLoop for Thread including inner loop;
add verbose in ThreadLoop;
change det location;
Give up using Ctrl-C for interrupt. Use Ctrl-D instead. -> Ctrl-C will interrupt child-process(socat), and its thread will hangup;