Refactored extra headers intialization logic to enable proper overriding of adapter default headers using the values supplied in configuration. Updated specs to reflect that.