Fixed string comparison bug in opening handshake parser