Custom element (non-UI) to connect to PubNub channel.