Remove -q (quash argv to "pine" option).
Comment typo.
Use ncat_assert in place of assert everywhere.
Don't do operations with side effects inside asserts.

ncat_assert is safe because it cannot be disabled. <assert.h> assert is
also safe because we make sure that NDEBUG remains defined. Doing this
helps avoid potential bad effects of something changing in the future.