@gurbuzali can the name or service name of a ClientProxy be null? If not, we should add validation at the constructor + this code can be simplified.