rpcclient: add automatic pinging.
rpcclient: add automatic pinging.

This adds periodic pinging to the rpc client to help
keep the established connection alive.

decred/dcrd,jrick/dcrd,decred/dcrd,jrick/dcrd