Added the ability to send custom headers in the ProviderBase class