[DEBUG] Fix address parsing/formatting utilities.
[DEBUG] Fix address parsing/formatting utilities.

- Fix some error conditions.
- Fix inet6 parsing (requires hints in getaddrinfo).

Change-Id: Ib7838532458cabaa71ec4259b5637a0415001404

Parrot-Developers/libpomp,Parrot-Developers/libpomp,Parrot-Developers/libpomp,Parrot-Developers/libpomp