initial port to new version of Encodium
silence error message for graceful illegal shutdown test
tidied up the code a bit, speed up tests, removed existing ban code, changed tests to use different ips 127.0.0.x for each client
changed port for local connection to 0 so that a random port is picked