Make the listening port available in JUnit rule