rpc: Retrieve peer PID via new getsockopt() for Mac
rpc: Retrieve peer PID via new getsockopt() for Mac

While LOCAL_PEERCRED on the BSDs does not return the pid information of
the peer, Mac OS X 10.8 added LOCAL_PEERPID to retrieve the pid so we
should use that when its available to get that information.

fabianfreyer/libvirt,zhlcindy/libvirt-1.1.4-maintain,libvirt/libvirt,elmarco/libvirt,andreabolognani/libvirt,agx/libvirt,crobinso/libvirt,jfehlig/libvirt,VenkatDatta/libvirt,shugaoye/libvirt,eskultety/libvirt,jfehlig/libvirt,andreabolognani/libvirt,jardasgit/libvirt,olafhering/libvirt,shugaoye/libvirt,shugaoye/libvirt,datto/libvirt,jfehlig/libvirt,jardasgit/libvirt,olafhering/libvirt,olafhering/libvirt,agx/libvirt,andreabolognani/libvirt,nertpinx/libvirt,libvirt/libvirt,taget/libvirt,shugaoye/libvirt,nertpinx/libvirt,datto/libvirt,elmarco/libvirt,zippy2/libvirt,VenkatDatta/libvirt,rlaager/libvirt,nertpinx/libvirt,agx/libvirt,VenkatDatta/libvirt,elmarco/libvirt,cbosdo/libvirt,elmarco/libvirt,taget/libvirt,taget/libvirt,shugaoye/libvirt,fabianfreyer/libvirt,jardasgit/libvirt,cbosdo/libvirt,zhlcindy/libvirt-1.1.4-maintain,andreabolognani/libvirt,datto/libvirt,jardasgit/libvirt,eskultety/libvirt,crobinso/libvirt,zhlcindy/libvirt-1.1.4-maintain,zhlcindy/libvirt-1.1.4-maintain,taget/libvirt,andreabolognani/libvirt,VenkatDatta/libvirt,nertpinx/libvirt,elmarco/libvirt,cbosdo/libvirt,rlaager/libvirt,rlaager/libvirt,crobinso/libvirt,fabianfreyer/libvirt,agx/libvirt,cbosdo/libvirt,crobinso/libvirt,eskultety/libvirt,zhlcindy/libvirt-1.1.4-maintain,datto/libvirt,cbosdo/libvirt,jardasgit/libvirt,rlaager/libvirt,libvirt/libvirt,VenkatDatta/libvirt,jfehlig/libvirt,eskultety/libvirt,olafhering/libvirt,fabianfreyer/libvirt,fabianfreyer/libvirt,nertpinx/libvirt,zippy2/libvirt,zippy2/libvirt,rlaager/libvirt,libvirt/libvirt,zippy2/libvirt,agx/libvirt,datto/libvirt,taget/libvirt,eskultety/libvirt