Add socket server as a main chat connector and also a client side which
connect to it