In all civil cases to the declaration, the clerk shall annex a process (unless the same be waived), signed by the clerk, or his deputy, and bearing test in the name of the judge of the said state court, and directed to the sheriff of said state court and his deputies, which shall bear date at least twenty days before the term of the said state court, to which it may be brought and served upon the defendant at least fifteen days before the said term, in the same manner as in the superior court. Appearance and pleading shall be a waiver of all irregularities of process, or the absence of service thereof.