HttpConstants.HEADER_HOST);
HttpConstants.HEADER_HOST, true);
    private void parseHost() {        String host = getRequestHeaders().getFirstValue(                HttpConstants.HEADER_HOST);        if (host != null) {            int colonIndex = host.indexOf(':');            if (colonIndex != -1) {                super.setBaseDomain(host.substring(0, colonIndex));                super.setBasePort(Integer.valueOf(host                        .substring(colonIndex + 1)));            } else {                super.setBaseDomain(host);                if (isConfidential()) {                    super.setServerPort(Protocol.HTTPS.getDefaultPort());                } else {                    super.setServerPort(Protocol.HTTP.getDefaultPort());                }            }        } else {            this.logger                    .warning("Couldn't find the mandatory \"Host\" HTTP header.");        }        this.hostParsed = true;    }