add beforeSend and beforeEmit callbacks
add beforeSend and beforeEmit callbacks

hobbyquaker/node-red-contrib-polymer,andrei-tatar/node-red-contrib-ui,hobbyquaker/node-red-contrib-polymer,andrei-tatar/node-red-contrib-ui