security
you can now connect to the cloud over ssl. Both the connect & subscribe functions now have an extra, optional parameter: 'secure'. When this is true, an ssl connection will be used (with connect for HTTP, subscribe creates a secure connection with the broker). Don't forget to use port 8883 if you want mqtt to be encrypted.
Your application will also have to contain a copy of the certificate authority's public certificate ( see cacert.pem in repository)
Note: nework watchdog functionality for gateways is implemented as a plugin for the pyGate gateway.