internal void adopt() { if(_adopt) { OutputStream stream = new OutputStream(this.stream.instance(), Util.currentProtocolEncoding); stream.swap(this.stream); this.stream = stream; _adopt = false; } }