NetConnection and NetStream additions to match AS3