optimizations and IPv6 support for pound