cockpitwebsocket: Refcount it

Preparatory patch for doing async I/O, where outstanding operations
will need to hold a ref on the data.