htsp server: Add a wait flag for the video dimensions