Updated header plugin to set headers for requests