ffmpeg: correctly handle cookies that specify a sub-domain