Bugfix for ServerException in MultiThreadedServer::run() method if no Pr...

...ofile logger has been registered + Add ServerContextInterface::hasLogger() method to querie whether a logger has been registered or not