added close callback to websocket, related to araqne/issue#60
Merge branch 'master' of github.com:araqne/webfx