Added pubnub messaging support