fixes no match error in parse_handshake_init/1