client connection to spi