Content-Length in PUT requests;
Convert JSON to array instead of stdClass.