Fixed mempool sync after sending a transaction
Check pindexBestForkBase for null
Make -proxy set all network types, avoiding a connect leak.

Previously -proxy was not setting the proxy for IsLimited networks, so
 if you set your configuration to be onlynet=tor you wouldn't get an
 IPv4 proxy set.

The payment protocol gets its proxy configuration from the IPv4 proxy,
 and so it would experience a connection leak.

This addresses issue #5355 and also clears up a cosmetic bug where
 getinfo proxy output shows nothing when onlynet=tor is set.
[Qt, OSX] fix Qt4.8 compatibility with QProgressBar issue

Rebased-From: 7f33d2cebfde99ded12c711ef6bd77c91725cfb8
Github-Issue: #5344
Merge pull request #5154

730b1ed Check pindexBestForkBase for null (21E14)
Merge pull request #5358

3c77714 Make -proxy set all network types, avoiding a connect leak. (Gregory Maxwell)
Merge pull request #5335

7e615f5 Fixed mempool sync after sending a transaction (Suhas Daftuar)