FIX dispatchEvent: call event handler in context of the WebSocket
instance
Merge pull request #50 from mmig/master_fix-dispatchEvent-exec-context

FIX dispatchEvent: call eventHandler in context of the WebSocket