Start websocket before xul application