Add websocket support, add Plugin base.