change the structor of tcp_stream and tcp_stream_container, change conta...

...iner into a dict