cli: added -4/-6 option for using ipv4/ipv6 connection (RhBug:1093420)
cli: refactored transfering cmdline options to conf