Added sending of the connect message