establish a successful connection between host and client