REORG/MINOR: connection: move declaration to its own include file

This way we don't depend on stream_interface anymore.
2 files changed