fix remote connectin in example clients