Randomizing server port used in testing.
Using Jacoco instead of cobertura.
Lots of fixes in network -code.