add send callback option
example reasons, allow user to transform data before send or process it later in a queue
avoid anon functions in test
Merge pull request #141 from scragg0x/master

add send callback option