Fixed client spi, ClientProxy cannot be constructed using client name. A...

...dded ProxyFactoryTest.