firebase realtime database vs websocket