1. Use "getaddrinfo" to replace the "gethostbyaddr" and "gethostbyname" functions.
2. Add "addrprint" function to print "struct addrinfo".
3. Add "WARNS?= 3" in Makefile for avoid the strict aliasing rules error while convert "sockaddr *" to "sockaddr_in".