Fix a few things in preparation for a merge to head.
Get rid of SPDX-License-Identifier for now.
Use a second ssize_t variable to avoid a "signed vs unsigned" warning
for powerpc.
Copy ai_addr to a struct sockaddr_in instead of casting the pointer, since
mips warns that the alignment requirements are different.