Add support for server name resolution and fix IRC keepalive
Add support for server name resolution and fix IRC keepalive

This patch not only adds support for name resolution, using
getaddrinfo(), and fixes the IRC keepalive PING-PONG between
server and client, it also adds support for IPv6.

Signed-off-by: Joachim Nilsson <583c295fd7602c168ad814279bbc3894ba65f5d6@gmail.com>

troglobit/ubot