tcp: Hide tcp_stream_t implementation