Fix loading and saving AF_INET addresses.