Added support for serving videos over HTTPS