Rewrite client code.

Client I/O now runs in its own thread and passes articles back for
processing asynchronously.

Split client command handling into separate files.

Removed str_t (unnecessarily complex).

Added runtime-selectable debugging code (-D option).