add setHost
add ClientTest