add the ability to set extra headers on requests

to facilitate passing through request-ids etc...

@naaman @ryanbrainard I think this should be kosher wrt the existing interfaces, can you check that the eclipse plugin still builds with this?