pubnub proof of concept