added parameter for request to disable changing headers for Accept and Content-type

This allows us to have something like an Accept header with just the
value 'yaml' or 'pson'.  This is nonstandard, but some servers will not
accept anything else (puppet...).

Maybe there's an easier way to do this without modifying the library?  If so, please ignore this pull request and let me know :)