add logger and use logger in sub
add SockaddrToConnectString util
use logger in other utils