core: Fix for use_websocket flag