add list command
usage:
    list [udp/tcp]

Signed-off-by: toby.zxj <toby.zxj@gmail.com>