Add getnetworkinfo support to btcctl.