Thanks for the suggestion @Anil_G
While that should work, the main issue that I see is that there are several combinations of variable present/not present that would require something like 8 or more logical conditions.
The ideal would be if the Headers dictionary collection could be built prior to the Http request call and passed as a parameter in properties.
But I will likely have to go down the route you suggest for now.
Thanks.