getTag(words: string[]): string | undefined
Extracts the tag value from a sentence (array of words)
Searches for the .tag attribute in the word array and returns its value. Tags are used for multiplexing multiple concurrent requests over a single connection.