implementation of SESSION CREATE
implementation of STREAM CONNECT
create SAM bridge