Improve the Command wrapper.

 - Add log file collection/direct writes.
 - Add base.parse_host_port()