Pub sub chat example. Had to change code as opposed to book cause the connect is implicitly fired there is no on 'connect' handling