Fixed problem with conversion from byte array to port number causing negative values, because of unsigned short confusion.
Fixed problem with accessing head of empty _untaken collection.
Test can now be run in separate JVMs simultaneously using JVM arguments.