Implemented Li's very good idea for determining an available port.  Tests passed on C9
Implemented Li's very good idea for determining an available port.  Tests passed on C9

rosette-api/java,rosette-api/java,rosette-api/java