matching new server and client