Allow passing a beforeSend to process JSON before sending it to graphite.
Merge pull request #4 from ctavan/before-send-hook

Allow passing a beforeSend to process JSON before sending it to graphite...