[SPARK-3286] - Cannot view ApplicationMaster UI when Yarn’s url scheme i...

...s https
Thanks @tgravescs .
So all stable versions are post YARN-1203 and can handle urls with scheme.
Alpha versions cannot handle url with scheme.
Address with scheme is passed from the ApplicationMaster.scala.
There are only two cases.
Stable :  pass the address with scheme. 
Alpha : strips of the scheme from the address.

I have changed the code appropriately