Refactored: flowmod message translation should be particular for each type of principal.