Optional Authentication header + configurable client secret parameter name + upped version number

Please have a look at these changes. I added default values for the new configurations, though you might want them reversed somewhat.