@Override
    public String toString() {
        if (address == null) {
            return null;
        }
        
        if (address.getAddress() instanceof Inet6Address) {
            return "tcp://[" + address.getAddress().getHostAddress() + "]:" + address.getPort();
        } else {
            return "tcp://" + address.getAddress().getHostAddress() + ":" + address.getPort();
        }
        
    }