libc/net: fix a portability issue

* POSIX does not require socklen_t to be unsigned

Submitted by:	bde@freebsd.org
Obtained-from:	FreeBSD