use create_session also for rawwebsocket transport