can extract real host from url; will use for host-based user css