- change write_client_out() to generic write_wrapper() for handling both stdout and stderr logs
- add --rotated-log-fmt option (where does malloc happen during arg parsing?)
- remove unused get_log_pathname()
- fix compiler warnings