DROOLS-437: filtering out non-string headers from the message
(cherry picked from commit 808eadec0991e2a6151d4d324f2599ee687cfe1a)