Loop: catch reconnection errors; writeLoop: only log.Print if Debug
Merge pull request #16 from presbrey/master

Loop: catch reconnection errors; writeLoop: only log.Print if Debug