Chixxi's initial version
initial version, doesn't currently compile
some variables were wrong from the initial code integration, this version at least appears to start on vera
converted the plugin to call over TCP rather than curl
also integrated the dkjson library to handle json encoding
reconnection and disconnection handling now working better
tweaked the reconnection code
if we're connected and get a notification log us as up even if we haven't pinged to improve responsiveness