Added socket exception catch for logging to emoncms
Merge branch 'master' of https://github.com/casestudies/tweetawatt