Adding HTTP headers to Piwik client requests

I’ve got a need to add a custom HTTP header to all requests sent by the Piwik client. This will be used to provide authentication information to a Piwik proxy. I know there’s a way to add a header for Content-Type but I don’t see any way to add an arbitrary custom request header. Is there a way to do this that I’m overlooking?