Ipv6 support to statsite core.

Now statsite can listen on either IPv4 or IPv6 addresses.