copied Pubnub.cs and PubnubExample.cs files from CL-5344