break out more code from victory

split out buffer code into a new file.
split out a second CSV parser into a new file.
print descriptive error messages in network code.
support IPv6 to work around getaddrinfo() returning duplicate entries.