connection.py: Swaps in WIP iostream.

[ci skip]