Reimplemented status_registry part of c++ server lib from previous proprietary implementation.