Revert "FIX #85"

This reverts commit 5a0b8f40f1762d74428a1aa9c554a503e0d14098.
Keep a final copy of outstream

Fixes issue #98

If the connection has been closed then .write() will fail. This also
guarantees that messages intended for one connection do not get sent
to the next connection if a reconnection occurs.