Initialize missing stream state.

Now simulator is able to set up two-way stream attachment state,
send init packet and forward the receive.
Add logging for debug.