Reduce bitcoin-cli dependencies
Merge pull request #5221

93a6022 Reduce bitcoin-cli dependencies (Pieter Wuille)