Connect client to server