On or before the day fixed for his appearance, the defendant may appear and answer and assert any legal or equitable defense, setoff, or counterclaim.