Now establishing a connection with the server.