Add mutex locking and reference counting to virNetSocket
Add mutex locking and reference counting to virNetSocket

Remove the need for a virNetSocket object to be protected by
locks from the object using it, by introducing its own native
locking and reference counting

* src/rpc/virnetsocket.c: Add locking & reference counting

dumbbell/libvirt,iam-TJ/libvirt,leilihh/libvirt,taget/libvirt,agx/libvirt,iam-TJ/libvirt,zippy2/libvirt,bjzhang/libvirt,rmarwaha/libvirt1,jardasgit/libvirt,dumbbell/libvirt,andreabolognani/libvirt,jfehlig/libvirt,foomango/libvirt,elmarco/libvirt,libvirt/libvirt,datto/libvirt,jeckersb/libvirt,rlaager/libvirt,shugaoye/libvirt,bjzhang/libvirt,trainstack/libvirt,shugaoye/libvirt,rmarwaha/libvirt1,fabianfreyer/libvirt,cbosdo/libvirt,olafhering/libvirt,emaste/libvirt,emaste/libvirt,rmarwaha/libvirt,datto/libvirt,rmarwaha/libvirt1,jeckersb/libvirt,taget/libvirt,cbosdo/libvirt,rlaager/libvirt,andreabolognani/libvirt,kantai/libvirt-vfork,leilihh/libvirt,wiedi/libvirt,siboulet/libvirt-openvz,novel/fbsd-libvirt,jeckersb/libvirt,datto/libvirt,jeckersb/libvirt,kantai/libvirt-vfork,shugaoye/libvirt,wiedi/libvirt,jeckersb/libvirt,eskultety/libvirt,wiedi/libvirt,nertpinx/libvirt,iam-TJ/libvirt,leilihh/libvirt,kantai/libvirt-vfork,jeckersb/libvirt,agx/libvirt,trainstack/libvirt,rlaager/libvirt,siboulet/libvirt-openvz,trainstack/libvirt,bjzhang/libvirt,elmarco/libvirt,foomango/libvirt,trainstack/libvirt,foomango/libvirt,jfehlig/libvirt,foomango/libvirt,soulxu/libvirt-xuhj,trainstack/libvirt,novel/fbsd-libvirt,soulxu/libvirt-xuhj,zippy2/libvirt,warewolf/libvirt,danwent/libvirt-ovs,trainstack/libvirt,rlaager/libvirt,kantai/libvirt-vfork,nertpinx/libvirt,nertpinx/libvirt,siboulet/libvirt-openvz,wiedi/libvirt,zhlcindy/libvirt-1.1.4-maintain,warewolf/libvirt,agx/libvirt,soulxu/libvirt-xuhj,warewolf/libvirt,kantai/libvirt-vfork,datto/libvirt,crobinso/libvirt,zhlcindy/libvirt-1.1.4-maintain,trainstack/libvirt,crobinso/libvirt,leilihh/libvirt,agx/libvirt,warewolf/libvirt,VenkatDatta/libvirt,VenkatDatta/libvirt,danwent/libvirt-ovs,eskultety/libvirt,rmarwaha/libvirt,wiedi/libvirt,emaste/libvirt,jfehlig/libvirt,rmarwaha/libvirt,novel/fbsd-libvirt,emaste/libvirt,olafhering/libvirt,cbosdo/libvirt,siboulet/libvirt-openvz,jardasgit/libvirt,dumbbell/libvirt,zhlcindy/libvirt-1.1.4-maintain,warewolf/libvirt,wiedi/libvirt,jeckersb/libvirt,zhlcindy/libvirt-1.1.4-maintain,leilihh/libvirt,danwent/libvirt-ovs,warewolf/libvirt,fabianfreyer/libvirt,novel/fbsd-libvirt,usc-isi/libvirt,rmarwaha/libvirt1,dumbbell/libvirt,usc-isi/libvirt,andreabolognani/libvirt,elmarco/libvirt,andreabolognani/libvirt,taget/libvirt,rmarwaha/libvirt1,novel/fbsd-libvirt,usc-isi/libvirt,eskultety/libvirt,taget/libvirt,jfehlig/libvirt,crobinso/libvirt,dumbbell/libvirt,leilihh/libvirt,emaste/libvirt,zhlcindy/libvirt-1.1.4-maintain,libvirt/libvirt,taget/libvirt,elmarco/libvirt,novel/fbsd-libvirt,rmarwaha/libvirt,eskultety/libvirt,bjzhang/libvirt,crobinso/libvirt,warewolf/libvirt,fabianfreyer/libvirt,agx/libvirt,shugaoye/libvirt,emaste/libvirt,siboulet/libvirt-openvz,cbosdo/libvirt,libvirt/libvirt,cbosdo/libvirt,datto/libvirt,shugaoye/libvirt,iam-TJ/libvirt,wiedi/libvirt,libvirt/libvirt,nertpinx/libvirt,soulxu/libvirt-xuhj,iam-TJ/libvirt,zippy2/libvirt,nertpinx/libvirt,olafhering/libvirt,iam-TJ/libvirt,emaste/libvirt,usc-isi/libvirt,rmarwaha/libvirt,soulxu/libvirt-xuhj,novel/fbsd-libvirt,bjzhang/libvirt,olafhering/libvirt,jardasgit/libvirt,rmarwaha/libvirt,fabianfreyer/libvirt,novel/fbsd-libvirt,VenkatDatta/libvirt,usc-isi/libvirt,elmarco/libvirt,dumbbell/libvirt,rmarwaha/libvirt1,danwent/libvirt-ovs,rlaager/libvirt,jardasgit/libvirt,foomango/libvirt,eskultety/libvirt,novel/fbsd-libvirt,fabianfreyer/libvirt,VenkatDatta/libvirt,jardasgit/libvirt,zippy2/libvirt,andreabolognani/libvirt,danwent/libvirt-ovs,iam-TJ/libvirt,VenkatDatta/libvirt