Stripped out everything except for the core functionality of reconnecting and keep alive to run on raspberry pi.
rpi doesn't seem to have the root certs by default, adding --insecure directive to curl calls to skip validating against ca certs
Change in default conn url
Changed keep alive parameters
Removed the loop so this can be run from a cron on Raspberry Pi
Update README
Merge branch 'rpi'
cleaning up