Fixed multiple messages in one record case (only handshake)