Don't override 'Content-Type' if set by endpoint

Also add support for 'text/plain' in Accept header