tcp udp test tool merge from googlecode of sinpowei@gmail.com