rudimentary client-server connection