Implemented a simple TCP socket-backed stream.