Added decoding of connect message