Only wait for the server port when using out-of-process mode.
Move starting the client to the new launcher class.

This now also makes use of the server port number received from the target.