Have util-internal.h define socklen_t if we need it, and include it appropriately. This fixes win32 compilation. svn:r1070