simple client server connection