tests/server: make the server thread accessible
tests/server: make the server thread accessible

The server thread is now accessible from outside of the class. Now the
user of the server could join on this thread and block until the server
finished.

OParl/validator,OParl/validator