Updated header plugin to set the headers for requests