Patch from Jos Backus <josb@cncdsl.com> to use HAVE_SOCKADDR_LEN rather