fix(server): maxBytes option must be wrapped in a payload object