Fixed MQTT connection. Now just used once.
Fixed Json messages to match exactly the same in the document http://69.170.22.85:9443/download/attachments/7275117/PieAgentV2.pdf