remove http:// and trailing / from enterprise hostname