Prefix error-reason with length in ERROR command