start adapting Cometd js client for Centrifuge