client now connects to server