Added support for connecting and listening to IPv6 addresses.

This also removes all the IPv4-only legacy functions.
eliminated compiler warnings
config: eliminated check for seqfile, it is no longer used
updated CHANGES
Added basic test suite
rc_send_server: allow overriding the socket functions