NXOAuth2Connection: support JSON content type.
NXOAuth2Request: support custom http headers.
NXOAuth2Connection: fix handling content type.
NXOAuth2Request: setup custom headers.