Fix interrupted HTTP RPC connection workaround for Python 3.5+
Fix interrupted HTTP RPC connection workaround for Python 3.5+

bitcoinxt/bitcoinxt,bitcoinxt/bitcoinxt,dagurval/bitcoinxt,dagurval/bitcoinxt,dagurval/bitcoinxt,bitcoinxt/bitcoinxt,bitcoinxt/bitcoinxt,bitcoinxt/bitcoinxt,bitcoinxt/bitcoinxt,dagurval/bitcoinxt,dagurval/bitcoinxt,dagurval/bitcoinxt