added contentType option in configuration

Hey, I need to use content-type 'application/json-rpc'.
Can you merge this changes?