client with basic connection to server