* Added generic http_negotiate() function (FR#17338)