Adding custom headers to the client

In a perfect world it would be done by a plugin but since I need to add these custom headers to things like msearch it will probably need to add it to my kibana fork