@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        Spec spec = (Spec) o;
        return port == spec.port &&
                malformed == spec.malformed &&
                Objects.equals(host, spec.host);
    }
Obtain a string representation of this address. The return
value from this method may be used to create a new Spec.

@return string representation of this address
jrt/src/com/yahoo/jrt/Spec.java