registerplugin works on 1.1.X + with websocket now