monitoring: Write transport directive to instances INI configuration

Further I replaced if-elseif blocks w/ switch when branching based on the value of a single parameter,
which would have to be implied otherwise by looking at all the conditions.
monitoring: Rewrite Service::getStateText() to get the optional translated textual representation of a service state
monitoring: Remove unnecessary break after throwing an exception