Add getnetworkinfo support to btcctl.

ok @jrick