Custom header fields in NXOAuth2Request

Support for custom header fields when using the NXOAuth2Request class
The merge request is for adding header fields (a useful thing) but please only do that and do not change unrelated code.