Adding fleshed out client connect function