Clean up getaddrinfo a bit and fix port parsing
Clean up getaddrinfo a bit and fix port parsing

zhaozg/luv,xpol/luv,DBarney/luv,xpol/luv,RomeroMalaquias/luv,daurnimator/luv,zhaozg/luv,brimworks/luv,luvit/luv,mkschreder/luv,NanXiao/luv,kidaa/luv,luvit/luv,daurnimator/luv,leecrest/luv,NanXiao/luv,brimworks/luv,RomeroMalaquias/luv,leecrest/luv,joerg-krause/luv,RomeroMalaquias/luv,joerg-krause/luv,DBarney/luv,daurnimator/luv,kidaa/luv,mkschreder/luv