BZ-1053721/JBPM-4142 - Unify validation messages for incoming/outgoing connections
(cherry picked from commit 1ebc06b009ed5927b7c8b6a342db7cb09f4fc59a)