don't throw exception when body comes back as null, fix var scope issues
Merge remote-tracking branch 'upstream/master'

Conflicts:
	examples/streaming.js
Merge pull request #30 from arthurblake/master

cleaned up some bad var scope issues - and fixed undefined body problem, while still logging the event