allow asking the JUnitServer what port it is listening on
NMS-6941 use a random port for HTTP tests