Allow stubbing and verification via the junit rules when binding to any available port

This fixes an issue I introduced with the ability to bind to any available port. I've also added tests that show the issue.