Fixing some issues with websocket ORIGIN token.