openconnect: add --HEAD support

Signed-off-by: Jay Soffian <jaysoffian@gmail.com>
Closes #27195.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>