couple of little fixes

fix to stop AutoProxyCreator barfing when passed a non cfc object
fix for "no protocol exception" on certain platforms when trying to read xml files