Fix relationship between AlarmServer, Envisa ProtocolFactory and Protocol.