Quick and dirty implementation of Channels, now when connect message is received from server we check what endpoint we are connected against and if it is different to the one requested we make the switch, Connect event is only firec after connecting to the correct endpoint