Remove optional max-tries from persistently-connect-to-server. Now it tries infinitely instead.
Add some type-error messages on process-message.
tcp-reader-loop: put the handlers (except for shutting-down) inside the loop so it won't exit after any handler finishes.
Updated main.