Stop defining __USE_XOPEN and simply define IOV_MAX if not defined.
Use random available port in unit tests

This makes it possible to run the tests in parallel.
Whitespace only