Fixed a few bugs:
- publishing a non-string message converted it to a string before writing
- new config wasn't dealing with addresses that weren't already arrays

added corrisponding tests as well.
Merge pull request #35 from zeevl/bug-fixes

bug fixes