Sample code for using an ESP8266 wifi controller to connect to CloudMQTT.com
Uses Libraries: https://github.com/Imroy/pubsubclient https://github.com/esp8266/Arduino
For testing I used a Chrome app called MQTTLens to publish and subscribe messages.