Store WebSocketPlugin object to be accessible