Try to fix bug 7865 for some acl() EINVAL results.
Use 0 (not NULL) for a non-pointer arg.
Restoring use of socketpair on cygwin.

Use of socketpair is much faster on cygwin, and some folks report fewer
hangs using the modern socketpair implementation vs pipes.