add addrinfo func
Merge branch 'master' of https://github.com/JessicaDong/netlib