antimake: follow symlinks when searching extensions
socket: getpeercreds() - getpeereid() + pid

Most OSes have also way to get pid of unix socket peer.

Provide generic API for fetching it.

Make compat getpeereid() wrap it, so all compat goo
is in one place.