Connected the client to the server