support for streamafika setup

now support origin, open and saving cookie file, websocket sample etc
etc