Check whether a fetch method always has a fetch id field.
Factor out function to check for "Invalid params" messages.
Factor out checks for invalid params, method not found and invalid request.