caught little bug on null messages in the NSQ write
check for nil writer before trying to publish to it
Merge pull request #366 from mikedewar/toNSQfix

caught little bug on null messages in the NSQ write