mqtt example from https://community.spark.io/t/mqtt-library-and-sample/2111 works