ticket 2843: make all ports dynamic in remoting tests