dump valid clients

1. add dump valid clients interface
Merge branch 'master' of https://github.com/shenjiajia1225/myproj
adjust test client

1. recode test client