Update bouncehandler.js

Change to prevent some crashes on some malformed email.
Added the diagnostic code in the return array when it's possible so that we can have a better knowledge on the bounce issue.