This fixes a problem where non-existent domains could cause the lua script to fail which would then leave the database connection open and eventually lead to denial of service when the database runs out of connections. Everyone using xml handler needs this update.

git-svn-id: http://fusionpbx.googlecode.com/svn/trunk@4052 e2954ef0-caed-11de-bd98-e341d93cc3cc