Find a free port by calling server socket with argument 0, use this in place of hard coded one or default one.
I grant license to ASF for inclusion in ASF works (as per the Apache Software License §5)
Applied patch in r935201. Please confirm (by closing this JIRA) that it has been applied as expected.
It has been applied as expected - closing jira