Fix for message.data check on Mac. It wasn't determining the message to be 'down' or 'up', apparently due to the data being binary rather than a string...
Merge pull request #11 from poshaughnessy/ip-by-hostname-fix

Fix for message.data check on Mac