reconnect to websocket in case of unwanted clousure
clean logging
Merge pull request #41 from eschuhmacher/master

refresh websocket on connection lost