Adds ability to set server listen IP and port.

Also starts the tests on a random port with each test instantiation.