cihttpd: Bug fixes & ipv6 support