Added checking of requests content type header for parsing request params and body
Merge pull request #397 from duncanol/2.3.x

Honouring request's Content-Type header when parsing params and request body for command object