updated test client
a little bit improvement
fixed write_addr bug and some prof improvement
improved client