added v 0.4.0 of websocketplugin