websocket with flash fallback