Fixes #3: Refactored control server status message parsing. Added documentation about the parsing.