processBodyContent()
protected method
If the content-type indicates a JSON payload, the payload is immediately
decoded and the data returned. Otherwise, the data is passed to
parse_str(). If that function returns a single-member array with a empty
value, the method assumes that we have non-urlencoded content and
returns the raw content; otherwise, the array created is returned.