get hostname () {
    const host = this.host
    if (!host) return ''
    if (host[0] === '[') return this.URL.hostname || '' // IPv6
    return host.split(':', 1)[0]
  }
Parse the "Host" header field hostname
and support X-Forwarded-Host when a
proxy is enabled.

@return {String} hostname
@api public