Updated code to simplify  and use  Orphanse.setOutputNS(XXX).
Add Orphans.preFlight() to  so connection setup seperately , for output parsing.