http://blog.argot-sdk.org/2013/06/dummies-guide-to-installing-mosquitto.html
mosquitto_sub
Install latest version of Homebrew and brew install mosquitto
then start it with: /usr/local/sbin/mosquitto -c /usr/local/etc/mosquitto/mosquitto.conf
subscribe: mosquitto_sub -t response -h -u -P