add hub-server connection protocol.