Copies all system properties available to ant and makes them available to junit tests.
Removes unused import and adds OS detection (currently LINUX and MAC only needed).
Adds TCP tests, not enabled by default.