Add support to run libcli over console.