Add missing checks for whether the connection is open in dispatcher
Add missing checks for whether the connection is open in dispatcher

Many functions did not check for whether a connection was
open. Replace the macro which obscures control flow, with
explicit checks, and ensure all dispatcher code has checks.

* daemon/remote.c: Add connection checks

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