[fix] Do not install /messages route if WebSocket is disabled