like "char ip[4]", let's be more strict about that
also add compat formatting routines that will output v4-mapped addresses as ipv4 addresses