Fix accidental write to global variable.
Merge pull request #472 from glasser/patch-1

Fix accidental write to global variable.
[fix] add 0.10 compatibily.. closes #474
[merge] PR #470
[docs] fix syntax highlighting
FIX: ws error event
Merge remote-tracking branch 'origin/caronte' into caronte