fix for MSVC2010: missing socklen_t
always init the socks[] to -1/INVALID_SOCKET on error, both on Win32/64 and UNIX/other platforms --> socks[] can be assumed to be always initialized to a sensible value
code flow fix for non-Win32 platforms: now we can be sure, no matter what their socketpair.c() does internally
remove one compiler warning
non-Win32 platforms don't have set_errno but allow errno=X instead.
whitespace five-of paid a visit:    wsclean -e -x -U -v $(find . -type f -name '*.[ch]' )
merge dmwm2, GerHobbelt cleanups
Switch to BSD license, for Nikos
merge