refine Makefiles
tsp: detect SIGPIPE, fix bug when deleted socket is last one
libtkbio: wait unlimited for tsp to get ready, renew socket after tsp was down
add skeleton for future gps application