Added TLS and reconnection support
fix qos, add support for omitting timestamp in MQTT payload
Merge pull request #360 from jpmens/mqtt2

Added TLS and reconnection support