This code uses PubNub which is protocol agnostic