Implements streamxhr, streamxdr, streamiframe by mimicking #6