adjust test output
remove useless code
adjust logs, resolve name, and works for domain name
parse ip address even the client said it's a hostname
remove unused methods
cleanup code
cleanup code
use buf_t instead of buf_chain and clean up code