Util::Application::defineOptions() defines certain options by default, which is convenient. However, sometimes there is a need for a default option to be overriden. An example is writing pidfile after the application is ready for operation, to indicate availability of the service to the outside world.
ServerApplication::handlePidFile() should be made virtual and supported on all platforms