MSG-478 Add event handler hook for errors that occur when sending
Include MsgId in error callbacks
Merge pull request #3 from layerhq/feature-MSG-478-error-events

MSG-478 Add event handler hook for errors that occur when sending