fixed turn/proxy logic in peer client side