simulate client connection